package cn.wolfcode.luowowo.acticle.mapper;

import cn.wolfcode.luowowo.acticle.domain.StrategyTag;
import cn.wolfcode.luowowo.acticle.query.StrategyTagQueryObject;

import java.util.List;

public interface StrategyTagMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StrategyTag record);

    StrategyTag selectByPrimaryKey(Long id);

    List<StrategyTag> selectAll();

    int updateByPrimaryKey(StrategyTag record);

    List<StrategyTag> selectForList(StrategyTagQueryObject qo);

    int selectMaxSequence();

    List<String> selectAllTagName();

    Long selectByTagName(String tagName);

    List<String> selectTagsByDetailId(Long detailId);
}